package com.hanrui.android.net.contract.login;

import com.hanrui.android.library.base.BaseContract;
import com.hanrui.android.model.User;

/**
 * 登录
 * Created by Administrator on 2018/3/9.
 */

public interface LoginContract {
    interface View extends BaseContract.BaseView{
        void loginSuccess(User user);

    }

    interface Presenter extends BaseContract.BasePresenter<LoginContract.View>{
        void login(String username, String password);
    }
}
